import vueCookie from './cookie'

const isLogin = () => !!vueCookie.getCookie('token')
const getToken = () => vueCookie.getCookie('token')
const removerUserInfo = () => {
  vueCookie.removeCookie('token')
  vueCookie.removeCookie('userInfo')
  vueCookie.removeCookie('uid')
}
export {
  isLogin,
  getToken,
  removerUserInfo
}